API Help
Eplan.EplApi.HEServices Namespace / CableService Class / DoReassignWires Method / DoReassignWires(Function,Boolean,AnyPropertyId[]) Method
Function on which this procedure will be executed.
If true existing wire properties can be changed.
List of properties ids. Value of those properties will not be changed. Can be NULL.

In This Topic
    DoReassignWires(Function,Boolean,AnyPropertyId[]) Method
    In This Topic
    All wires in cable are assigned to a matching template of the cable. Works only for Eplan.EplApi.DataModel.EObjects.Cable or Eplan.EplApi.DataModel.Function with category Eplan.EplApi.DataModel.Function.Enums.Category.Shielding.
    Syntax

    Parameters

    oFunction
    Function on which this procedure will be executed.
    bChangeExistingProperties
    If true existing wire properties can be changed.
    arrListOfExcludedAnyPropertyIds
    List of properties ids. Value of those properties will not be changed. Can be NULL.
    Exceptions
    ExceptionDescription
    If oCable is NULL.
    If parameter is invalid.
    Internal interface could not be created.
    An error occurred when reassigning wires. Please read the exception message.
    Remarks
    Every template will be used only once. A wire will be assigned to a template, only if both have the same potential type. If a wire is assigned to a template, the identifying wire properties of the template will be copied to the wire.

    Only functions with category Eplan.EplApi.DataModel.Function.Enums.Category.Cable or Eplan.EplApi.DataModel.Function.Enums.Category.Shielding can be passed as oFunction.

    See Also